package sprites;

import java.awt.Point;
import java.awt.image.BufferedImage;
import java.util.ArrayList;

import com.golden.gamedev.GameObject;

import engine.BubblefishBobGame;

/**
 * Abstract class that represents a bubble on the path )whether with fish or
 * not). Note that bubbles fired by Bob are subclasses of Projectiles, and not
 * this class.
 */
public abstract class Bubble extends BubblefishBobSprite
{

	private ArrayList<Point> myPoints;
    protected Point nextPoint;
    protected double mySpeed;

    public Bubble(GameObject owner, BufferedImage[] image, double x, double y)
    {
       super(owner, image, x, y);
       myPoints = ((BubblefishBobGame) owner).getPoints();
       mySpeed = ((BubblefishBobGame) owner).getSpeed();
       nextPoint = myPoints.get(0);
    }
    
    
    
  
}
